//package tech.aistar;
//
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//import tech.aistar.entity.noteshow.ApplyTraveler;
//import tech.aistar.service.applytraveler.IApplyTravelerService;
//
//
///**
// * Created by Dell on 2019/9/29.
// */
//@RunWith(SpringRunner.class)
//@SpringBootTest
//public class TextApplyTraveler {
//
//    @Autowired
//    private IApplyTravelerService applyTravelerService;
//    @Test
//    public void contextLoads() {
//
//
//       ;
//        //System.out.println( applyTravelerService.findTraveler(1));
//
////        NoteAuthor noteAuthor = new NoteAuthor();
////        noteAuthor.setId(5);
////        noteAuthor.setUserId(6);
//
//        ApplyTraveler applyTraveler = new ApplyTraveler();
//
//        applyTraveler.setId(applyTravelerService.findTraveler(1).getId());
//        applyTraveler.setUserId(applyTravelerService.findTraveler(1).getUserId());
//
//        applyTraveler.setPhone("1245554332");
//        applyTraveler.setApplyName("辰辰");
//        applyTraveler.setProvice("黑龙江");
//        applyTraveler.setCity("哈尔滨市");
//        applyTraveler.setIntro("爱好美食");
//
//      // NoteAuthor noteAuthor = applyTravelerService.findTraveler(1);
//      //  applyTravelerService.applyTravler(applyTraveler);
//        applyTravelerService.addTravler(1);
//////       applyTravelerService.addTravler(noteAuthor);
//    }
//}
